<div class="banner_slider">
    <?php 
        echo $this->headScript()->prependFile($this->basePath() . '/js/jquery.flexslider-min.js', 'text/javascript'); 
        echo $this->headLink()->appendStylesheet($this->basePath() . '/css/flexslider.css')
    ?>

    <div class="flexslider">
		<ul class="slides">
		    <?php 
    		    for ($i = 0; $i < 3; $i++)
	       	        echo sprintf('<li><img src="%s/img/banner_slider/%s/slide_%s.jpg" /></li>', $this->basePath(), $this->language, $i + 1);
		    ?>  
		</ul>
	</div>
</div>

<script type="text/javascript">
    $(window).load(function(){
        $('.flexslider').flexslider({
          animation: "slide",
          animationLoop: true,
          itemWidth: 550,
          itemMargin: 0,
          pausePlay: false,
          nextText: '',
          prevText: '',
          start: function(slider){
            $('body').removeClass('loading');
          }
        });
      });
</script>